package com.woniuxy.threeproject.end_water_project_user.service;

import com.woniuxy.threeproject.end_water_project_user.domain.PaymentForm;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.threeproject.end_water_project_user.domain.User;
import com.woniuxy.threeproject.end_water_project_user.domain.form.billform.BillDetailForm;
import com.woniuxy.threeproject.end_water_project_user.domain.form.billform.GetBillForm;

/**
 * <p>
 * 缴费表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-25
 */
public interface IPaymentFormService extends IService<PaymentForm> {
    //获取电子发票详情
    BillDetailForm getBillDetailForm(GetBillForm getBillForm);

    int insert(PaymentForm p);

    PaymentForm getPayFormId(String fpuUid);

    //添加缴费表
    public void addPayForm(PaymentForm paymentForm,String card);
    //获取缴费表最后一条的信息
    public Integer findEndPaymentForm();
    //根据卡号查询用户信息
    public User getUserByCard(String card);
    //根据定单号修改订单状态和支付方式
    public void updatePaymentForm(String outTradeNo,char payWay);
}
